package com.karson.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 行为权重配置表
 * @TableName ar_behavior_weight
 */
@TableName(value ="ar_behavior_weight")
@Data
public class BehaviorWeight implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 行为类型，如点赞/收藏/分享
     */
    @NotNull
    private String behavior;

    /**
     * 行为权重值
     */
    @NotNull
    private double weight;

    /**
     * 
     */
    @JsonIgnore
    private Boolean isDel;


    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}